package com.neusoft.javafeatures9;


import java.lang.reflect.InvocationTargetException;

public class ReflectExmaple {
    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException {
        Class<?> classz = Class.forName("java.lang.String");
        System.out.println(classz.getDeclaredConstructor().newInstance());
    }
}
